<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>绑定值</title>
    </head>
    <body>

        <!-- 选择列表 -->
        <div id = "app">
            <select v-model = "selected" multiple>
                <option>html</option>
                <option value="js">JavaScript</option>
                <option>css</option>
            </select>
           选择的是 {{ selected}}
        </div>

        <script src = "../../vue.min.js"></script>
        <script>
            var app = new Vue({
                el:"#app",
                data:{
                    selected:'html'
                }
            })
        </script>

    </body>
</html>